package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 拼箱的发货收货地址，代购的拼柜只有发货地址对象 px_addr_box
 * 
 * @author ruoyi
 * @date 2024-07-02
 */
@ApiModel(value = "拼箱的发货收货地址，代购的拼柜只有发货地址对象")
public class PxAddrBox extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID", name = "ID")
    private Long addrBoxId;

    /** px_box的id */
    @Excel(name = "px_box的id")
    @ApiModelProperty(value = "px_box的id", name = "boxId")
    private Long boxId;

    /** 地址ID */
    @ApiModelProperty(value = "地址ID", name = "addrId")
    @Excel(name = "地址ID")
    private Long addrId;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID", name = "userId")
    private Long userId;

    /** 收货人或者发货人 */
    @Excel(name = "收货人或者发货人")
    @ApiModelProperty(value = "收货人或者发货人", name = "userName")
    private String userName;

    /** 省ID */
    @ApiModelProperty(value = "省ID", name = "provinceId")
    @Excel(name = "省ID")
    private Long provinceId;

    /** 省 */
    @Excel(name = "省")
    @ApiModelProperty(value = "省", name = "province")
    private String province;

    /** 区域ID */
    @Excel(name = "区域ID")
    @ApiModelProperty(value = "区域ID", name = "areaId")
    private Long areaId;

    /** 区 */
    @ApiModelProperty(value = "区", name = "area")
    @Excel(name = "区")
    private String area;

    /** 城市ID */
    @Excel(name = "城市ID")
    @ApiModelProperty(value = "城市ID", name = "cityId")
    private Long cityId;

    /** 城市 */
    @Excel(name = "城市")
    @ApiModelProperty(value = "城市", name = "city")
    private String city;

    /** 港口 */
    @Excel(name = "港口")
    @ApiModelProperty(value = "港口")
    private String port;

    /** 港口id */
    @Excel(name = "港口id")
    @ApiModelProperty(value = "港口id")
    private Long portId;

    /** 地址 */
    @Excel(name = "地址")
    @ApiModelProperty(value = "地址", name = "addr")
    private String addr;

    /** 邮编 */
    @Excel(name = "邮编")
    @ApiModelProperty(value = "邮编", name = "postCode")
    private String postCode;

    /** 手机 */
    @Excel(name = "手机")
    @ApiModelProperty(value = "手机", name = "mobile")
    private String mobile;

    /** shipping：发货，receiving:收货 */
    @Excel(name = "shipping：发货，receiving:收货")
    @ApiModelProperty(value = "shipping：发货，receiving:收货", name = "addressType")
    private String addressType;

    /** 版本号 */
    @Excel(name = "版本号")
    private Integer version;

    public void setAddrBoxId(Long addrBoxId) 
    {
        this.addrBoxId = addrBoxId;
    }

    public Long getAddrBoxId() 
    {
        return addrBoxId;
    }
    public void setBoxId(Long boxId) 
    {
        this.boxId = boxId;
    }

    public Long getBoxId() 
    {
        return boxId;
    }
    public void setAddrId(Long addrId) 
    {
        this.addrId = addrId;
    }

    public Long getAddrId() 
    {
        return addrId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setPostCode(String postCode) 
    {
        this.postCode = postCode;
    }

    public String getPostCode() 
    {
        return postCode;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setAddressType(String addressType) 
    {
        this.addressType = addressType;
    }

    public String getAddressType() 
    {
        return addressType;
    }
    public void setVersion(Integer version) 
    {
        this.version = version;
    }

    public Integer getVersion() 
    {
        return version;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public Long getPortId() {
        return portId;
    }

    public void setPortId(Long portId) {
        this.portId = portId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addrBoxId", getAddrBoxId())
            .append("boxId", getBoxId())
            .append("addrId", getAddrId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("provinceId", getProvinceId())
            .append("province", getProvince())
            .append("areaId", getAreaId())
            .append("area", getArea())
            .append("cityId", getCityId())
            .append("city", getCity())
            .append("addr", getAddr())
            .append("postCode", getPostCode())
            .append("mobile", getMobile())
            .append("addressType", getAddressType())
            .append("createTime", getCreateTime())
            .append("version", getVersion())
            .toString();
    }
}
